//
//  YDYNetworkTool.h
//  DYChats
//
//  Created by 杨德勇 on 2016/9/13.
//  Copyright © 2016年 杨德勇. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YDYNetworkTool : NSObject


+ (NSString *)getIPAddress:(BOOL)preferIPv4;
+ (NSDictionary *)getIPAddresses;
+ (BOOL)isValidatIP:(NSString *)ipAddress;

@end
